99d947
@@ -76,6 +76,19 @@
public ProxyFileSystem(FileSystem fs) {
     throw new RuntimeException ("Unsupported constructor");
   }
 
+  /**
+   *
+   * @param p
+   * @return
+   * @throws IOException
+   */
+  public Path resolvePath(final Path p) throws IOException {
+    // Return the fully-qualified path of path f resolving the path
+    // through any symlinks or mount point
+    checkPath(p);
+    return getFileStatus(p).getPath();
+  }
+
   /**
    * Create a proxy file system for fs.
    *
@@ -124,7 +137,7 @@
public Path makeQualified(Path path) {
 
 
   @Override
-  protected void checkPath(Path path) {
+  protected void checkPath(final Path path) {
     super.checkPath(swizzleParamPath(path));
   }
 
